from django.urls import path, include
from django.contrib import admin
from rest_framework.routers import DefaultRouter
from . import views

router = DefaultRouter()
router.register(r'SmartLocks', views.SmartLocksViewSet, basename='smart_locks')
router.register(r'DefectiveStore', views.DefectiveStoreViewSet, basename='defective_store')
router.register(r'DefectiveStoreLocks', views.DefectiveStoreLocksViewSet, basename='DefectiveStore')
router.register(r'DefectiveStoreInRecord', views.DefectiveStoreInRecordViewSet, basename='DefectiveStoreInRecord')
router.register(r'DefectiveStoreOutRecordViewSet', views.DefectiveStoreOutRecordViewSet, basename='DefectiveStoreOutRecord')
urlpatterns = [
    path('', include(router.urls)),
]
